package com.example.pojo;

public class Orderdetailet {

    private Integer odId;
    private Integer orderId;
    private Integer foodId;
    private Integer quantity;
    //每个订单明细关联的商品信息
    private Food food;

    public Food getFood() {
        return food;
    }

    public void setFood(Food food) {
        this.food = food;
    }

    public Integer getOdId() {
        return odId;
    }


    public void setOdId(Integer odId) {
        this.odId = odId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orderdetailet.orderId
     *
     * @return the value of orderdetailet.orderId
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orderdetailet.orderId
     *
     * @param orderId the value for orderdetailet.orderId
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orderdetailet.foodId
     *
     * @return the value of orderdetailet.foodId
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public Integer getFoodId() {
        return foodId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orderdetailet.foodId
     *
     * @param foodId the value for orderdetailet.foodId
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public void setFoodId(Integer foodId) {
        this.foodId = foodId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orderdetailet.quantity
     *
     * @return the value of orderdetailet.quantity
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public Integer getQuantity() {
        return quantity;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orderdetailet.quantity
     *
     * @param quantity the value for orderdetailet.quantity
     *
     * @mbggenerated Tue Dec 05 10:11:18 CST 2023
     */
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }
}